package info.lyscms.squirrel.service.impl;

import java.util.List;

import javax.annotation.Resource;

import info.lyscms.squirrel.dao.NoticeMapper;
import info.lyscms.squirrel.pojo.Notice;
import info.lyscms.squirrel.service.NoticeService;
import org.springframework.stereotype.Service;



@Service("NoticeService")
public class NoticeServiceImpl implements NoticeService {
	 @Resource
	 private NoticeMapper noticeMapper;

	@Override
	public List<Notice> getNoticeList() {

		return noticeMapper.getNoticeList();
	}

	@Override
	public void insertSelective(Notice notice) {
		noticeMapper.insertSelective(notice);
	}
}
